<table width="99%">
	<tbody>
		<tr>
			<td id="left" valign="top">
			<!-- [Left menu] start -->
			<div class="leftmenu" >

				<h1 id="pageinfo">Quick Launch</h1>
	
				<ul id="tabs" class="quickmenu">
					<li><a href="#one">Part Details</a></li>
					<li><a href="#three">Notes</a></li>
					<li><a href="<?=site_url('contacts/import')?>">Import</a></li>
				</ul>

			<!-- [Left menu] end -->
			</td>

			<td id="main" valign="top">
			<!-- [Content] start -->
			<div class="content slim">

				<h1 id="edit">Create New Part</h1>
	
				<form   action="<?=site_url('part/create')?>" type="submit" method="post" accept-charset="utf-8">
 	
					<div class="info">
						<h2>Part Details</h2>
					</div>

	
				<br class="clearfloat" />

					<hr />

			<div id="">
				<?php if ($notice = $this->session->flashdata('notification')):?>
					<p class="notice"><?=$notice;?></p>
				<?php endif;?>

				<table id="createForm">
					<tbody>
						<tr>
							<td id="value_label" width="30%">
								<label class="required" for="part_number">Part Number</label>
							</td>
							<td id="value" width="%70%">
								<input class="required" id="part_number" type="text" size="45" name="part_number" />
							</td>
						</tr>
						<tr>
							<td id="value_label" width="30%">
								<label class="required" for="part_type_id"><?php echo $this->lang->line('part_type');?></label>
							</td>
							<td id="value" width="%70%">
								

									<select name="part_type_id" id="part_type_id">
        								<option value="null" selected="selected"><?php echo $this->lang->line('part_all_types');?></option>
									<?php foreach($typeList->result() as $row): ?>
        									<option value="<?php echo $row->id;?>"><?php echo $row->name;?></option>
									<?php endforeach; ?>
									</select>

								
									
							</td>
						</tr>
						<tr>
							<td id="value_label" width="30%">
								<label class="required" for="part_description">Part Description</label>
							</td>
							<td id="value" width="%70%">
								<input class="required" id="part_description" type="text" size="45" name="description" />
							</td>
						</tr>
						<tr>
							<td id="value_label" width="30%">
								<label class="required" for="comment">Comment</label>
							</td>
							<td id="value" width="%70%">
								<input class="required" id="comment" type="text" size="45" name="comment" />
							</td>
						</tr>
						<tr>
							<td id="value_label" width="30%">
								<label class="required" for="value">Value</label>
							</td>
							<td id="value" width="%70%">
								<input class="required" id="value" type="text" size="45" name="value" />
							</td>
						</tr>
						<tr>
							<td id="value_label" width="30%">
								<label class="required" for="unit_of_measure"><?php echo $this->lang->line('part_uom');?></label>
							</td>
							<td id="value" width="%70%">
								
									<select name="unit_of_measure" id="unit_of_measure">
        								<option value="null" selected="selected"><?php echo $this->lang->line('part_uom');?></option>
										<?php foreach($uomList->result() as $row): ?>
        										<option value="<?php echo $row->id;?>"><?php echo $row->name;?></option>
										<?php endforeach; ?>
									</select>

								
							</td>

						</tr>
					<tbody>
				</table>
			<div>

			<!-- [ Save Cancel Buttons ] -->
			<div id="savCanButtons">
				<table cellspacing="0" cellpadding="0" border="0" width="100%">
					<tbody>
						<tr>
							<td style="padding-bottom: 2px;">
								<input id="saveForm" class="btTxt" type="submit" tabindex="21" value="Submit" /> Or
								<a href="<?=site_url('part/index')?>" class="input-submit last">Cancel</a>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			<!-- End Buttons -->

<!-- Testing forms -->
						


<!-- End Testing forms -->

				


			</div> 
			</td>
		</tr>
	</tbody>
</table>
</form>

